		<div id="newsnav_wrapper">
			<ul class="newsnav">
				<li class="active"><a href="#"><span class="propercase">Edit Group: {$group_name}</span></a></li>
				<li><a href="{$URL_groups}"><span class="ucase">Browse {#PLIGG_Visual_Groups#}</span></a></li>
				<li><a href="{$URL_submit_groups}"><span class="ucase">{#PLIGG_Visual_Submit_A_New_Group#}</span></a></li>
			</ul>
		</div>
		<div class="box group_submit">
		{if $is_group_admin eq '1'}
			{if $errors}<div class="msg_success">{$errors}</div>{/if}
			<div class="divset">
				<h2>Current Avatar &nbsp; ( <span class="propercase"><a href="javascript://" onclick="var replydisplay=document.getElementById('image_upload-1').style.display ? '' : 'none';document.getElementById('image_upload-1').style.display = replydisplay;">{#PLIGG_Visual_Group_Avatar_Upload#}</a></span> )</h2>
				<div class="content">
					<table cellpadding="0" cellspacing="0">
						<tr>
							<td valign="top" width="110"><img src="{$imgsrc}" alt="{$group_name}" class="group_avatar" /></td>
							{if $is_group_admin eq '1'}
							<td width="20">&nbsp;</td>
							<td valign="top">
								{if $Avatar_uploaded neq ''}<div class="msg_warning">{$Avatar_uploaded}</div>{/if}
								<div id="image_upload-1" style="display:none;">
									<div class="msg_warning"><strong>{#PLIGG_Visual_Profile_UploadAvatar2#}</strong></div>
									<form method="post" enctype="multipart/form-data" name="image_upload_form" action="{$edit_form_action}">
										{$hidden_token_edit_group}
										<input type="file" name="image_file" size="20" />
										<input type="hidden" name="idname" value="{$group_id}" />
										<input type="hidden" name="avatar" value="uploaded" />
										<input type="hidden" name="avatarsource" value="useruploaded" />
										<input type="submit" value="{#PLIGG_Visual_Profile_AvatarUpload#}" name="action" />
									</form>
								</div>
							</td>
							{/if}
						</tr>
					</table>
				</div>
				<div class="bottom"><!-- //--></div>
			</div>				
			<form method="post" enctype="multipart/form-data" name="image_upload_form" action="{$edit_form_action}">
				{$hidden_token_edit_group}
				<div class="divset">
					<h2><label for="group_title">{#PLIGG_Visual_Submit_Group_Title#}</label></h2>
					<div class="content">
						<input type="text" name="group_title" id="group_title" value="{$group_name}" size="65" maxlength="120" />
					</div>
					<div class="bottom"><!-- //--></div>
				</div>			
				<div class="divset">
					<h2><label for="group_description">{#PLIGG_Visual_Submit_Group_Description#}</label></h2>
					<div class="content">
						<textarea name="group_description" rows="6" cols="50" id="group_description">{$group_description}</textarea>
					</div>
					<div class="bottom"><!-- //--></div>
				</div>			
				<div class="divset">
					<h2><label for="group_privacy">{#PLIGG_Visual_Submit_Group_Privacy#}</label></h2>
					<div class="content">
						<select name="group_privacy" id="group_privacy" onchange="document.getElementById('group_email').style.display=this.selectedIndex==0 ? 'none' : 'block';">
							<option{if $group_privacy eq 'public'} selected="selected"{/if} value="public">{#PLIGG_Visual_Submit_Group_Public#}</option>
							<option{if $group_privacy eq 'private'} selected="selected"{/if} value="private">{#PLIGG_Visual_Submit_Group_Private#}</option>
							<option{if $group_privacy eq 'restricted'} selected="selected"{/if} value="restricted">{#PLIGG_Visual_Submit_Group_Restricted#}</option>
						</select>
						<div id="group_email" style="display:none;">
							<input type="checkbox" id="group_notify_email" name="group_notify_email" value="1" /><label for="group_notify_email" class="small_font">{#PLIGG_Visual_Submit_Group_Notify#}</label>
						</div>
					</div>
					<div class="bottom"><!-- //--></div>
				</div>			
				<div class="divset">
					<h2><label for="group_vote_to_publish">{#PLIGG_Visual_Submit_Group_vote_to_publish#}</label></h2>
					<div class="content">
						<input type="text" id="group_vote_to_publish" size="4" name="group_vote_to_publish" value="{$group_vote_to_publish}" />
						<span class="submit_instructions">{#PLIGG_Visual_Group_Submit_NoOfVoteInstruction#}</span>
					</div>
					<div class="bottom"><!-- //--></div>
				</div>
				<input type="submit" name="action" value="{#PLIGG_Visual_Group_Edit#}" class="submit_button" />
			</form>
		{else}
			{#PLIGG_Visual_Group_Admin_Error#}
		{/if}
		</div>